//
//  MoBanFourTennCell.m
//  MoBan
//
//  Created by apple on 16/7/30.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "MoBanFourTennCell.h"
@interface MoBanFourTennCell()
@property(nonatomic,strong)UILabel *timelable;
@end
@implementation MoBanFourTennCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self= [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self addUI];
    }
    return self;

}
-(void)addUI
{
    self.timelable = [[UILabel alloc]init];
    self.timelable.textColor = [UIColor redColor];
    [self.contentView addSubview:self.timelable];

}
-(void)layoutSubviews
{
    [super layoutSubviews];
    self.timelable.frame =CGRectMake(0, 10*Kscr, 200*Kscr, 20*Kscr);
}
-(void)ZBdatasouce:(NSString *)str
{
    //结束的时间
    NSDateFormatter *formatter = [[NSDateFormatter alloc]init];
    [formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"];
    NSDate *date = [formatter dateFromString:str];
    
//    NSDate dateWithTimeIntervalSinceNow:
    
    NSDate *newdata = [NSDate date];
    
    
    
    

}

@end
